package com.polymer.app.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.polymer.app.entity.BussinessDO;
import com.polymer.app.service.BussinessService;
import com.polymer.app.service.repository.BussinessRepository;

@Service
public class BussinessServiceImpl implements BussinessService {
    
    @Autowired
    private BussinessRepository bussinessRepository;

    @Override
    public BussinessDO getbus(String id) {
        return bussinessRepository.getbus(id);
    }
    
    @Override
    public BussinessDO getbusNoXML(String id) {
        return bussinessRepository.getbusNoXML(id);
    }

    @Override
    public int saveBus(BussinessDO bussinessDO) {
        return bussinessRepository.saveBus(bussinessDO);
    }
    
}
